#encoding: utf-8
class SortsController < ApplicationController

  def index
    @sorts = Sort.all
  end

  def show
    @sort = Sort.find(params[:id])
  end

  def new
  	@sort = Sort.new
  end

  def create
  	@sort = Sort.new(params[:sort])
  	if @sort.save
  		#redirect_to 'sorts/index'
  	end
  end

end
